<template>
  <generate-form v-model:form="form" :formOption="formOption" :fields="fields" :rules="rules"/>
</template>
<script>
import { ref } from "vue";
import GenerateForm from "../components/GenerateForm.vue";
import options from "../components/options";
export default {
  components: {GenerateForm},
  setup() {
    console.log(options)
    let form = ref({
      id:1,
      pid:12,
      aa:"aaa",
      bb:"bbb"
    })
    return {
      ...options,
      form
    }
  },
};
</script>
